﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SharpSoft.Data
{
    /// <summary>
    /// 排序字段
    /// </summary>
    public struct OrderField
    {
        public OrderField(string name, FieldOrderType orderType= FieldOrderType.Asc)
        {
            this.Name = name;
            this.OrderType = orderType;
        }
        public string Name { get; set; }

        public FieldOrderType OrderType { get; set; }
    }
}
